package org.yxt.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * 统一的配置中心 服务端
 * 测试是否能访问到配置gitee配置文件内容 http://localhost:3344/master/config-dev.yml
 *
 * @author Yang douya
 * @date 2022-01-05 23:59
 */
@SpringBootApplication
@EnableEurekaClient
@EnableConfigServer
public class ConfigServerMain3344 {

    public static void main(String[] args) {
        SpringApplication.run(ConfigServerMain3344.class, args);
    }
}
